package com.sanhe.a448.bean;

import androidx.annotation.Keep;

import com.sanhe.a448.App;
import com.sanhe.a448.R;

@Keep
public class WorkParam {

    public int mode, time, energy, workType;

    public String getHandle() {
        switch (workType) {
            case 1:
                return "CET";
            case 2:
                return "RET";
            case 3:
                return "HSP";
            case 4:
                return App.getApp().getString(R.string.indi);
        }
        return "--";
    }

    public String getMode() {
        switch (mode) {
            case 10:
                return App.getApp().getString(R.string.surface);
            case 11:
                return App.getApp().getString(R.string.surface) + "/" + App.getApp().getString(R.string.deep);
            case 01:
                return App.getApp().getString(R.string.deep);
            default:
                return "--";
        }
    }
}
